package com.chaos.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaos.framework.model.entity.AutoIdModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@TableName("rbac_permission")
@ApiModel(value="RbacPermission实体", description="权限表")
public class RbacPermission extends AutoIdModel {


    @ApiModelProperty(value = "权限名称")
    @TableField("name")
    private String name;


    @ApiModelProperty(value = "url权限标识")
    @TableField("url_perm")
    private String urlPerm;

    @TableField("type")
    private Integer type;

}
